package cate.game.role.pvp.guildwar.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBGuildWar;
import cate.game.pvp.guildwar.data.GuildWar;
import cate.game.pvp.guildwar.data.GuildWarLog;
import easy.java.dev.note.NoteField;

import java.util.List;

@ClientMsg(title = "公会战-日志数据 返回")
public class GuildWarLogResp implements MsgOutput {

    @NoteField("战场日志")
    public List<GuildWarLog> logs;

    public GuildWarLogResp(GuildWar war) {
        logs = war.field.logs;
    }

    public GuildWarLogResp() {
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGuildWar.LOG_RESP;
    }
}
